package util.grepkey;

/**
 * Created by huashao on 16/8/8.
 */
public class EncryptManager {

    private IEncryptStrategy iEncryptStrategy;

    public EncryptManager(IEncryptStrategy iEncryptStrategy){
        this.iEncryptStrategy = iEncryptStrategy;
    }
    public  String secure(String message ,String extra) {

        return iEncryptStrategy.secure(message,extra);
    }

    public  String secure(String message ,String extra,String encryptData) {

        return iEncryptStrategy.secure(message,extra,encryptData);
    }


}
